package com.tianheng.modbus.nettyservice;

import com.tianheng.modbus.dto.DeviceAndOrderDTO;
import com.tianheng.modbus.entity.ModbusDevice;

import java.util.List;

/**************************************************
 * copyright (c) 2020, peng.cao@tianheng-uestc.com All Rights Reserved.
 * created by peng.cao
 * date:       2020/7/9 0009
 * since:      1.0.0.1
 * description:
 *
 **************************************************/
public interface ModbusDeviceService  {

    ModbusDevice getDevice(Long id);

    String  getOrder(Long id);

    List<DeviceAndOrderDTO>  getDeviceAndOrder();
}
